<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/style/layout.css"/> 
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/style/content.css"/>
    </head>
    <body>
        <div class="cbox col9 f_l">
        <form action='<{:U('edit')}>' method="POST">
              <input type='hidden' value='<{$list.id}>' name='id'/>
            <div class="header"><h3>编辑栏目（栏目id:<{$list.id}>）</h3></div>
            <div class="content">
                <div class="innerbox">
                    
                    <fieldset class="col4 f_l">
                        <label>栏目名 Type Name</label>
                        <input type="text" name='name' value='<{$list.name}>'/>
                    </fieldset>
                    <fieldset class="col5 f_l">
                        <label>关键词(以|分隔) Keywords</label>
                        <input type="text" name='keywords' value="<{$list.keywords}>"/>
                    </fieldset>
                    <div class="f_c"></div>
                    <fieldset class="col9">
                        <label>栏目描述 Description</label>
                        <textarea  name='description'><{$list.description}></textarea>
                    </fieldset>
                    <fieldset class='col5 f_l'>
                        <label>频道模型 Channel</label>
                        <select name='channelid'>
                            <option value="0">--请选择--</option>
                            <{:arr2option($channels,"id","name",$list['channelid'])}>
                        </select>
                    </fieldset>
                    <fieldset class='col4 f_l'>
                        <label>上级栏目 Parent Type</label>
                        <select name='pid'>
                            <option value="0">--无--</option>
                            <volist name='moveoptions' id='eachtype'>
                                <option value='<{$eachtype.id}>' <if condition="$eachtype['id'] eq $list['pid']">selected</if>>|<{$eachtype.lv|str_repeat='-',###}><{$eachtype.name}></option>
                            </volist>
                        </select>
                    </fieldset>
                    <div class="f_c"></div>
                    <fieldset class="col8">
                        <label>栏目别名</label>
                        <input type="text" name='alias' value='<{$list.alias}>'/>
                        <p>英文和数字的组合，用于栏目个性url显示，留空则使用分类id</p>
                    </fieldset>
                    <fieldset class='col4 f_l'>
                        <label>列表页模板</label>
                        <input type="text" name='listtpl' value="<{$list.listtpl}>"/>
                        <p>相对于前台分组Tpl目录的文件名，留空则使用默认模板</p>
                    </fieldset>
                    <fieldset class='col4 f_l'>
                        <label>内容页模板</label>
                        <input type="text" name='arctpl' value='<{$list.arctpl}>'/>
                        <p>相对于前台分组Tpl目录的文件名，留空则使用默认模板</p>
                    </fieldset>
                    <div class="f_c"></div>
                </div>
            </div>
            <div class="footer">
                <div class="submit f_r">
                    <input type="submit" value="Submit" class="subbtn"/>
                    <input type="reset" value="Reset"/>
                </div>
            </div>
        </form>
        </div>
        
    </body>
</html>
